<script lang="ts" setup>
import {ref} from "vue"
import { getDictList } from "@/api/dict";
import type { Dict } from "@/api/dict/types";

const dictList = ref<Dict[]>([])

getDictList('ingredients').then(
  resp =>{
    dictList.value = resp
  }).catch(e=>{
    console.log(e)
  })



</script>
<template>

  <div class="about">
    {{ dictList }}
  </div>

</template>

<style>
</style>
